import Vue from "vue";
import App from "./App.vue";
import router from "./router/index.js";

import './style/_variable.scss';
import './icons'
import baby from './baby';
import settings from '@/settings'

Vue.use(baby, {...settings});

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

import './style/index.scss'

import "weui";

new Vue({
  router,
  render: function (h) {
    return h(App);
  }
}).$mount("#app");
router.afterEach((to, from) => {
  window.scrollTo(0, 0);
})
